<!--
 * @Author: hq
 * @Date: 2022-05-18 20:49:23
 * @LastEditors: hq
 * @LastEditTime: 2022-05-23 13:37:59
 * @Description: your project
 * @version: 1.0
-->
<template>
  <div class="card_con">
    <EditorBar
      v-model="txtInfo"
      :isClear="isClear"
      @change="change"
    ></EditorBar>
    <div class="row mb20">
      <el-button type="primary" @click="handleSubmit">提交</el-button>
    </div>
  </div>
</template>

<script>
import EditorBar from "@/components/wangEditor.vue";
export default {
  components: { EditorBar },
  data() {
    return {
      txtInfo: "ces",
      isClear: false,
    };
  },
  mounted() {},
  methods: {
    //富文本change
    change(val) {
      console.log(val);
    },
    handleSubmit() {
      console.log(this.isClear);
    },
  },
};
</script>

<style lang="scss" scoped></style>
